import { hasToken } from 'utils/storage'
import React from 'react'
import { Route } from 'react-router-dom'
// 我们需要解构所有的属性，除了component属性
export default function PrivateRoute({ component: Component, ...rest }) {
  return (
    <Route
  
    ></Route>
  )
}

